/* 
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */


$(document).on("ready", main);

function main() {
    $("a[rel^='prettyPhoto']").prettyPhoto();
    
}

function openpop(urls,titles){
    $.prettyPhoto.open(urls,titles);
}

function closepop(){
    $.prettyPhoto.close();
} 

function nextpop(){
    $.prettyPhoto.changePage('next');
}

function prevpop(){
    $.prettyPhoto.changePage('previous');
}

